class CreateCallcacheRaws < ActiveRecord::Migration
  def self.up
    create_table :callcache_raws do |t|
      t.string :id
      t.string :SBCID
      t.integer :timestamp
      t.string :src_carrier
      t.string :src_ip
      t.string :src_phone
      t.string :dest_carrier
      t.string :dest_ip
      t.string :dest_phone
      t.integer :duration

      t.timestamps
    end
  end

  def self.down
    drop_table :callcache_raws
  end
end
